<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
    xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
    xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
    xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://bpmn.io/schema/bpmn">
    <bpmn:process id="TasksOverview" name="Tasks overview" isExecutable="true">
        <bpmn:sequenceFlow id="sequenceFlow_1" sourceRef="startEvent_1" targetRef="ThisIsASubprocess" />
        <bpmn:sequenceFlow id="sequenceFlow_2" sourceRef="ThisIsASubprocess" targetRef="ThisIsAUserTask" />
        <bpmn:sequenceFlow id="sequenceFlow_5" sourceRef="ThisIsAUserTask" targetRef="ThisIsAManualTask" />
        <bpmn:sequenceFlow id="sequenceFlow_6" sourceRef="ThisIsAManualTask" targetRef="ThisIsABusinessRuleTask" />
        <bpmn:sequenceFlow id="sequenceFlow_7" sourceRef="ThisIsABusinessRuleTask" targetRef="ThisIsACallActivity" />
        <bpmn:sequenceFlow id="sequenceFlow_8" sourceRef="ThisIsACallActivity" targetRef="ThisIsASendTask" />
        <bpmn:sequenceFlow id="sequenceFlow_9" sourceRef="ThisIsASendTask" targetRef="ThisIsAReceiveTask" />
        <bpmn:sequenceFlow id="sequenceFlow_10" sourceRef="ThisIsAReceiveTask" targetRef="ThisIsAScriptTask" />
        <bpmn:sequenceFlow id="sequenceFlow_11" sourceRef="ThisIsAScriptTask" targetRef="ThisIsAServiceTask" />
        <bpmn:sequenceFlow id="sequenceFlow_12" sourceRef="ThisIsAServiceTask" targetRef="ThisIsATask" />
        <bpmn:sequenceFlow id="sequenceFlow_13" sourceRef="ThisIsATask" targetRef="endEvent_2" />
        <bpmn:startEvent id="startEvent_1">
            <bpmn:outgoing>sequenceFlow_1</bpmn:outgoing>
        </bpmn:startEvent>
        <bpmn:subProcess id="ThisIsASubprocess" name="This is a Subprocess">
            <bpmn:sequenceFlow id="sequenceFlow_3" sourceRef="startEvent_2" targetRef="ThisIsAnActivityInsideTheSubprocess" />
            <bpmn:sequenceFlow id="sequenceFlow_4" sourceRef="ThisIsAnActivityInsideTheSubprocess" targetRef="endEvent_1" />
            <bpmn:startEvent id="startEvent_2">
                <bpmn:outgoing>sequenceFlow_3</bpmn:outgoing>
            </bpmn:startEvent>
            <bpmn:endEvent id="endEvent_1">
                <bpmn:incoming>sequenceFlow_4</bpmn:incoming>
            </bpmn:endEvent>
            <bpmn:task id="ThisIsAnActivityInsideTheSubprocess" name="This is an activity inside the subprocess">
                <bpmn:incoming>sequenceFlow_3</bpmn:incoming>
                <bpmn:outgoing>sequenceFlow_4</bpmn:outgoing>
            </bpmn:task>
        </bpmn:subProcess>
        <bpmn:userTask id="ThisIsAUserTask" name="This is a User Task">
            <bpmn:incoming>sequenceFlow_2</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_5</bpmn:outgoing>
        </bpmn:userTask>
        <bpmn:userTask id="ThisIsASendTask" name="This is a Send Task">
            <bpmn:incoming>sequenceFlow_8</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_9</bpmn:outgoing>
        </bpmn:userTask>
        <bpmn:manualTask id="ThisIsAManualTask" name="This is a Manual Task">
            <bpmn:incoming>sequenceFlow_5</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_6</bpmn:outgoing>
        </bpmn:manualTask>
        <bpmn:businessRuleTask id="ThisIsABusinessRuleTask" name="This is a Business Rule Task">
            <bpmn:incoming>sequenceFlow_6</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_7</bpmn:outgoing>
        </bpmn:businessRuleTask>
        <bpmn:callActivity id="ThisIsACallActivity" name="This is a Call Activity">
            <bpmn:incoming>sequenceFlow_7</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_8</bpmn:outgoing>
        </bpmn:callActivity>
        <bpmn:receiveTask id="ThisIsAReceiveTask" name="This is a Receive Task">
            <bpmn:incoming>sequenceFlow_9</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_10</bpmn:outgoing>
        </bpmn:receiveTask>
        <bpmn:scriptTask id="ThisIsAScriptTask" name="This is a Script Task">
            <bpmn:incoming>sequenceFlow_10</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_11</bpmn:outgoing>
        </bpmn:scriptTask>
        <bpmn:serviceTask id="ThisIsAServiceTask" name="This is a Service Task">
            <bpmn:incoming>sequenceFlow_11</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_12</bpmn:outgoing>
        </bpmn:serviceTask>
        <bpmn:endEvent id="endEvent_2">
            <bpmn:incoming>sequenceFlow_13</bpmn:incoming>
        </bpmn:endEvent>
        <bpmn:task id="ThisIsATask" name="This is a Task">
            <bpmn:incoming>sequenceFlow_12</bpmn:incoming>
            <bpmn:outgoing>sequenceFlow_13</bpmn:outgoing>
        </bpmn:task>
    </bpmn:process>
    <bpmndi:BPMNDiagram id="BPMNDiagram_1">
        <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="TasksOverview">
            <bpmndi:BPMNShape id="_BPMNShape_startEvent_1" bpmnElement="startEvent_1" isExpanded="false">
                <dc:Bounds x="52" y="100" width="36" height="36" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_BPMNShape_startEvent_2" bpmnElement="startEvent_2" isExpanded="false">
                <dc:Bounds x="158" y="100" width="36" height="36" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsAnActivityInsideTheSubprocess" bpmnElement="ThisIsAnActivityInsideTheSubprocess" isExpanded="false">
                <dc:Bounds x="214" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_3" bpmnElement="sequenceFlow_3">
                <di:waypoint x="194" y="118" />
                <di:waypoint x="214" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_endEvent_1" bpmnElement="endEvent_1" isExpanded="false">
                <dc:Bounds x="334" y="100" width="36" height="36" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_4" bpmnElement="sequenceFlow_4">
                <di:waypoint x="314" y="118" />
                <di:waypoint x="334" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsASubprocess" bpmnElement="ThisIsASubprocess" isExpanded="true">
                <dc:Bounds x="140" y="60" width="248" height="116" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_1" bpmnElement="sequenceFlow_1">
                <di:waypoint x="88" y="118" />
                <di:waypoint x="140" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsAUserTask" bpmnElement="ThisIsAUserTask" isExpanded="false">
                <dc:Bounds x="528" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_2" bpmnElement="sequenceFlow_2">
                <di:waypoint x="388" y="118" />
                <di:waypoint x="528" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsAManualTask" bpmnElement="ThisIsAManualTask" isExpanded="false">
                <dc:Bounds x="648" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_5" bpmnElement="sequenceFlow_5">
                <di:waypoint x="628" y="118" />
                <di:waypoint x="648" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsABusinessRuleTask" bpmnElement="ThisIsABusinessRuleTask" isExpanded="false">
                <dc:Bounds x="768" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_6" bpmnElement="sequenceFlow_6">
                <di:waypoint x="748" y="118" />
                <di:waypoint x="768" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsACallActivity" bpmnElement="ThisIsACallActivity" isExpanded="false">
                <dc:Bounds x="888" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_7" bpmnElement="sequenceFlow_7">
                <di:waypoint x="868" y="118" />
                <di:waypoint x="888" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsASendTask" bpmnElement="ThisIsASendTask" isExpanded="false">
                <dc:Bounds x="1008" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_8" bpmnElement="sequenceFlow_8">
                <di:waypoint x="988" y="118" />
                <di:waypoint x="1008" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsAReceiveTask" bpmnElement="ThisIsAReceiveTask" isExpanded="false">
                <dc:Bounds x="1128" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_9" bpmnElement="sequenceFlow_9">
                <di:waypoint x="1108" y="118" />
                <di:waypoint x="1128" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsAScriptTask" bpmnElement="ThisIsAScriptTask" isExpanded="false">
                <dc:Bounds x="1248" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_10" bpmnElement="sequenceFlow_10">
                <di:waypoint x="1228" y="118" />
                <di:waypoint x="1248" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsAServiceTask" bpmnElement="ThisIsAServiceTask" isExpanded="false">
                <dc:Bounds x="1368" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_11" bpmnElement="sequenceFlow_11">
                <di:waypoint x="1348" y="118" />
                <di:waypoint x="1368" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_ThisIsATask" bpmnElement="ThisIsATask" isExpanded="false">
                <dc:Bounds x="1488" y="78" width="100" height="80" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_12" bpmnElement="sequenceFlow_12">
                <di:waypoint x="1468" y="118" />
                <di:waypoint x="1488" y="118" />
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNShape id="_BPMNShape_endEvent_2" bpmnElement="endEvent_2" isExpanded="false">
                <dc:Bounds x="1608" y="100" width="36" height="36" />
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_BPMNConnection_sequenceFlow_13" bpmnElement="sequenceFlow_13">
                <di:waypoint x="1588" y="118" />
                <di:waypoint x="1608" y="118" />
            </bpmndi:BPMNEdge>
        </bpmndi:BPMNPlane>
    </bpmndi:BPMNDiagram>
</bpmn:definitions>